build_guard "fmt" || return

print_title "Build for fmt" && cd "$BUILD_TOOL_DEP_ROOT/fmt"
cmake -S . -B "build" -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DCMAKE_BUILD_TYPE=Release
cmake --build "build" --config Release --target install

: '
Usage:
find_package(fmt CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE fmt::fmt)
'
